package com.neuedu.his.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class UserDao {

    @Autowired
    JdbcTemplate jt;

    public List list(){
        String sql ="select * from user ";
        return jt.queryForList(sql);
    }


}
